package com.jjh.pojo;



/**
 * 菜品
 * @author JJH
 */

public class Dishes {
    /**
     * 菜品id
     */
    private int dId;
    /**
     * 商家id
     */
    private int shopId;

    /**
     * 菜品名称
     */
    private String dname;
    /**
     * 菜品介绍
     */
    private String details;
    /**
     * 销量
     */
    private int count;
    /**
     * 菜品份数
     */
    private int num;
    /**
     * 价格
     */
    private double price;

    public int getDId() {
        return dId;
    }

    public void setDId(int dId) {
        this.dId = dId;
    }

    public String getDname() {
        return dname;
    }

    public void setDname(String dname) {
        this.dname = dname;
    }

    public String getDetails() {
        return details;
    }

    public void setDetails(String details) {
        this.details = details;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public int getShopId() {
        return shopId;
    }

    public void setShopId(int shopId) {
        this.shopId = shopId;
    }

    @Override
    public String toString() {
        return "Dishes{" +
                "dId=" + dId +
                ", shopId=" + shopId +
                ", dname='" + dname + '\'' +
                ", details='" + details + '\'' +
                ", count=" + count +
                ", num=" + num +
                ", price=" + price +
                '}';
    }
}
